<include file="assets/header" />

<title>销售工作日报数据汇总</title>


<style>
    #app {
        width: 99%;
        /*height: 650px;*/
        margin: 10px auto;
        padding-top: 10px;
        border: 2px solid #cccccc;
    }

    .el-table .warning-row {
        background: oldlace;
    }

    .el-table .success-row {
        background: #f0f9eb;
    }
</style>

</head>

<body style="min-width: 790px; margin: 0 auto;box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04)">

    <div id="app">

        <el-form ref="form1" :inline="true" :model="form1" label-width="100px" style="margin: 10px;" size="medium">

            <el-form-item prop="dateVal1" label="客户资料搜索">
                <el-autocomplete class="inline-input" v-model="form1.keyword" :fetch-suggestions="querySearch"
                    placeholder="请输入关键字内容" @select="handleSelect" size="medium"></el-autocomplete>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" @click="onSearch">按关键字查询</el-button>
            </el-form-item>

            <el-form-item>
                |
            </el-form-item>

            <el-form-item>
                <el-button type="primary" @click="onShowAll">显示所有客户</el-button>
            </el-form-item>

            <el-form-item>
                |
            </el-form-item>

            <el-form-item prop="xsid" label="选择销售">
                <el-cascader ref="xsCasc" v-model="form1.xsid" :options="vs.xsArr" :props='vs.xsCascProps'
                    @change="changeXsCasc" collapse-tags clearable></el-cascader>
            </el-form-item>
        </el-form>


        <div slot="header" class="clearfix" style="text-align: center;">
            <span>客户资料数据汇总</span>
        </div>

        <el-row class="">
            <el-col :span="24" :offset="0">
                <el-table :data="tableData1" stripe border highlight-current-row
                    style="width: 100%; text-align: center;" size="small" :header-cell-style="tableHeaderColor">
                    <el-table-column label="" header-align="center">
                        <el-table-column prop="khqdmc" label="渠道名称" header-align="center">
                        </el-table-column>
                        <el-table-column prop="khqy" label="地市区域" header-align="center" width="200px">
                        </el-table-column>

                        <el-table-column prop="khjdr" label="SI接待人" header-align="center" width="200px">
                        </el-table-column>
                        <el-table-column prop="khzw" label="职务" header-align="center" width="200px">
                        </el-table-column>
                        <el-table-column prop="khdh" label="联系电话" header-align="center" width="200px">
                        </el-table-column>
                    </el-table-column>
                </el-table>
            </el-col>
        </el-row>


    </div>

    <include file="assets/footer" />

    <script type="module" type="text/javascript" src="__TMPL__/xs/assets/userjs/sjtj.js?ver20241111"></script>

</body>

</html>